package gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gulimall.utils.PageUtils;
import gulimall.ware.entity.PurchaseEntity;
import gulimall.ware.vo.MergeVo;
import gulimall.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author HLF
 * @email 1132814637@qq.com
 * @date 2022-05-11 16:14:49
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryUnReceivePage(Map<String, Object> params);

    void saveMerge(MergeVo mergeVo);

    void updateStatusByPurchaseIds(List<Long> ids);

    void donePurchase(PurchaseDoneVo purchaseDoneVo);
}

